package com.cinc.ebc.sd.mapper;

import java.util.List;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cinc.ebc.sd.entity.SdSalesReturnDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cinc.ebc.sd.model.SdSalesReturnDetailModel;
import org.apache.ibatis.annotations.Param;

/**
 * @Description: 销售退货明细
 * @Author: jeecg-boot
 * @Date:   2022-10-09
 * @Version: V1.0
 */
public interface SdSalesReturnDetailMapper extends BaseMapper<SdSalesReturnDetail> {

	public boolean deleteByMainId(@Param("mainId") String mainId);

	public List<SdSalesReturnDetail> selectByMainId(@Param("mainId") String mainId);

    List<SdSalesReturnDetailModel> selectDetailList(Page<SdSalesReturnDetailModel> page, @Param("detailModel") SdSalesReturnDetailModel detailModel);
}
